<?php if(!defined('SABLOG_ROOT')) exit('Access Denied');?>
{template header}
		<script type="text/javascript" src="$options[url]include/jscript/ajax.js"></script>
		<script type="text/javascript" src="$options[url]include/jscript/show.js"></script>
		<script type="text/javascript" src="$options[url]include/jscript/fiximage.js"></script>
		<script type="text/javascript">
		window.onload=function(){
			fiximage('$options[attachments_thumbs_size]');
		}
		</script>
        
	    <div id="main">
		    <div class="trough">
                <div id="rss"><a href="$options[url]rss.xml" title="订阅我"><img src="$options[url]templates/$options[templatename]/img/RSS.png" alt="订阅我" /></a></div>
				<div class="tDate">$date</div>
                 
        		<div class="practiselib-entrance"><a href="$options[url]practiselib/">社会实践活动成果库入口</a></div>
		        <div class="caselib-entrance"><a href="$options[url]caselib/">康腾案例库</a></div>
			<!--{if $options['archives_num']}-->
				<div class="tAchieve">
					<h3><span>按月归档</span></h3>
				<ul>
					<!--{if !$archivecache}-->
						<li>没有任何归档</li>
					<!--{else}-->
						<!--{loop $archivecache $key $data}-->
						<li><a href="$data[url]">$key</a> <span>($data[num])</span></li>
						<!--{/loop}-->
					<!--{/if}-->
				</ul>
			    </div>
			<!--{/if}-->
		    </div>
		    <div class="contentContainer">
		        <div class="content">
		            
    <div class="homeContent">
		<div class="homeVisual">
        	<div id="player">
<object height="218" width="389" type="application/x-shockwave-flash" data="$options[url]images/player/flvplayer.swf" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param name="movie" value="$options[url]images/player/flvplayer.swf"/>
<param name="flashvars" value="&displayheight=218&file=$options[url]images/about.flv&height=218&image=$options[url]images/content.gif&width=389&showicons=true&showdigits=false&showfsbutton=true&shuffle=false&bufferlength=30&linktarget=_blank&type=flv&useaudio=false&usecaptions=false&frontcolor=0xffffff&backcolor=0x000000&lightcolor=0xffffff"/>
<embed height="218" width="389" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="playerMode=embedded" wmode="transparent" bgcolor="#ffffff" quality="best" allowscriptaccess="never" src="$options[url]images/player/flvplayer.swf?displayheight=218&file=$options[url]images/about.flv&height=218&image=$options[url]images/content.gif&width=389&showicons=true&showdigits=false&showfsbutton=true&shuffle=false&bufferlength=30&linktarget=_blank&type=flv&useaudio=false&usecaptions=false&frontcolor=0xffffff&backcolor=0x000000&lightcolor=0xffffff" type="application/x-shockwave-flash" classname="audio-player-embed"/>
</object>
	        </div>
        </div>
    </div>
	<div class="contentTrough">
			<div class="homeBanners">
    	    	$stylevar[topright-abc-a]
    	    	$stylevar[topright-abc-b]
    	    	$stylevar[topright-abc-c]
			</div>
		        </div>
		    </div>
	    </div>
        
        <div id="ads"></div>
        
        <div class="trough">
            <div class="doing">
                <h3><span>正在进行</span></h3>
                <div class="active"><a href="http://www.content.org.cn/category/case-contest/"><span>康腾全国高校学生案例分析大赛华中赛区报名通道</span></a></div>
            </div>

			<!--{if $options['sidebarlink_num']}-->
   			<div class="tLinks">
				<h3><span>友情链接</span></h3>
        		<div class="jd_news_scroll" id="links">
				<!--{if $options['random_links']}-->
				随机显示$options[sidebarlink_num]个友情链接
				<!--{/if}-->
				<ul>
				<!--{if !$linkcache}-->
					<li><a href="http://www.4ngel.net" target="_blank" title="安全天使网络安全小组">S4T</a></li>
					<li><a href="http://www.sablog.net" target="_blank" title="Sablog-X官方网站">Sablog-X</a></li>
					<li><a href="http://www.sablog.net/blog" target="_blank" title="angel's blog">angel's blog</a></li>
				<!--{else}-->
					<!--{loop $linkcache $data}-->
					<li><a href="$data[url]" target="_blank" title="$data[note]">$data[name]</a></li>
					<!--{/loop}-->
					<li><a href="$links_url">更多...</a></li>
				<!--{/if}-->
				</ul>
                </div>
		    </div>
            <!--{/if}-->
        </div>
        <div class="contentContainer">
        	<div class="content">
            	<div class="homeContent">
		<div class="homeTopic">
			<h3><span>最近关注</span></h3>
            <!-- {eval $i=1}-->
            <!--{loop $articledb $article}-->
	            <!--{if $i <= 2}-->
            <div class="latestnews">
            	<!--{if $i++ == 1}-->
            	<div class="Topic_$article[cid]"></div>
                <!--{/if}-->
            	<h4><span><a href="$article[url]" >$article[title]</a></span></h4>
                <span><p>$article[content]</p></span>
            </div>
                <!--{/if}-->
            <!--{/loop}-->
			<div class="hackbox"></div>
		</div>
		<div class="homeWhats">
        	<ul>
            <!--{loop $diyarticledb $articlenews}-->
            	<li><span>$articlenews[cname]</span><a href="$articlenews[url]">$articlenews[title]</a><span class="diydate">$articlenews[dateline]</span></li>
            <!--{/loop}-->
            </ul>
        </div>
                </div>
				<div class="contentTrough">
                <div class="homeNews">
					<h3><span>全站搜索</span></h3>
					<div class="tSearch">
                       	<form method="post" action="$options[url]post.php">
                        <input type="hidden" name="action" value="search" />
                        <input type="hidden" name="formhash" value="$formhash" />
                        <input name="keywords" type="text" value="" class="txtSearch" />
				        <input type="submit" name="searchboxsubmit" value="搜索" id="searchboxsubmit" class="btnSearch" />
                        </form>
			    	</div>
			<!--{if $total}-->
			<h3><span>最近更新</span></h3>
            <ul>
                <!--{eval $i=0}-->
				<!--{loop $articledb $article}-->
                <!--{if $i++ < 6}-->
            <li><a href="$article[url]">$article[title]<br /><span class="latest-date">$article[dateline]</span></a></li>
            	<!--{/if}-->
            	<!--{/loop}-->
            </ul>
           	<!--{/if}-->
			<h3><span>Meta</span></h3>
                <ul>
                <!--{if $sax_uid}-->
				<li>欢迎您, $sax_user&nbsp;<a href="$logout_url">注销</a><a href="$admin_url" target="_blank">管理</a><a href="$options[url]?action=files" target="_blank">分享文档</a></li>
				<!--{else}-->
                		<li>
					<!--{if !$options['closereg']}-->
						<a href="$reg_url">注册</a>&nbsp;&nbsp;
					<!--{/if}-->
						<a href="$login_url">登陆</a></li>
				<!--{/if}-->
        		</ul>  
		</div>
                </div>
            </div>
        </div>
</div>